package com.howard.modules.person.bean;

import com.howard.modules.base.bean.DomainObject;

public class Person extends DomainObject {
	private static final long serialVersionUID = 1L;
	private Integer id;
	private String name;
	private String age;
	private String password;
	private Long super_class;                    //父类别
	private Long sub_class;                      //子类别
	
	private Province province;
	private City city;
	
	public Person(){}
	
	public Person(String name,String password) {
		this.name = name;
		this.password = password;
	}
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Long getSuper_class() {
		return super_class;
	}

	public void setSuper_class(Long superClass) {
		super_class = superClass;
	}

	public Long getSub_class() {
		return sub_class;
	}

	public void setSub_class(Long subClass) {
		sub_class = subClass;
	}

	public Province getProvince() {
		return province;
	}

	public void setProvince(Province province) {
		this.province = province;
	}

	public City getCity() {
		return city;
	}

	public void setCity(City city) {
		this.city = city;
	}

	public String getAge() {
		return age;
	}

	public void setAge(String age) {
		this.age = age;
	}
}
